package com.heima.search.service;

import com.heima.common.PageResult;
import com.heima.common.Result;
import com.heima.dto.SearchDTO;

import java.io.IOException;

public interface SearchService {

    public Result createIndexAndMapping() throws IOException;

    public void importData();

    PageResult search(SearchDTO searchDTO);
}
